﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ProjectManageSystemApi.Enums
{
    /// <summary>
    /// 角色关系表 所属类型
    /// </summary>
    public enum SystemCoreRelation_BelongsType 
    {
        /// <summary>
        /// 用户
        /// </summary>
        User = 0,

        /// <summary>
        /// 角色
        /// </summary>
        Role = 1,
    }

    /// <summary>
    /// 角色关系表 资源类型
    /// </summary>
    public enum SystemCoreRelation_ResourceType 
    {
        /// <summary>
        /// 菜单
        /// </summary>
        Menu = 0,
        /// <summary>
        /// 页面元素
        /// </summary>
        Element = 1,
    }

    /// <summary>
    /// 角色关系表 状态值
    /// </summary>
    public enum SystemCoreRelation_Status 
    {
        /// <summary>
        /// 无效
        /// </summary>
        Invalid = 0,

        /// <summary>
        /// 有效
        /// </summary>
        Valid = 1
    }
}
